<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta name="keywords" content="" />
        <meta name="description" content="" />
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <title>HorSite</title>
        <link href="style.css" rel="stylesheet" type="text/css" media="screen" />
        <style>
            .margen {
                margin-left: 50px;
                background-color: transparent;
            }
			.margen2{
				margin-left: 50px;
				margin-right:50px;
				width:510px;
                background-color: transparent;
			}
        </style>
    </head>
    <body>
        <div id="page2">
            <div id="content">
                <div class="post2">
                    <h2>Identifiquese</h2>
                    <br/>
                    <div>
                        <fieldset class="margen2" >
                            <legend>
                                Digite su usuario y su clave
                            </legend>
                            <%= form_tag({:action=> "login", :method => 'post'}) %>
                            <table>
                            <tr align="center">
                                <td height='30px'>
                                    <label for="email">
                                        E-mail:
                                    </label>
                                </td>
                                <td height='30px'>
                                    <%= text_field_tag :email, params[:email] %>
                                </td>
                            </tr>
                            <tr align="center">
                                <td height='30px'>
                                    <label for="password">
                                        Password:
                                    </label>
                                </td>
                                <td height='30px'>
                                    <%= password_field_tag :password, params[:password] %>
                                </td>
                            </tr>
                            <tr align="center">
                                <td colspan=2 align="center">
                                    <br/>
                                    <input type="submit" value="Login" align="center" />
									<input id="cancelar" class="nyroModalClose" name="cancel" type="button" value="Cancelar" />
									<a href="/pendingusers/new" class="nyroModal" rev="gal">Registrarse</a>
                                </td>
                            </tr>
                            </form>
                        </table>
                        </fieldset>
                    </div>
                </div>
            </div>
        </div>
    </body>
</html>